package com.info33.platform.system.dic.vo;

import com.fasterxml.jackson.annotation.JsonView;
import com.info33.platform.common.mvc.jsonview.object.JsonViewResult;
import com.info33.platform.system.dic.entity.SysDicMod;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 系统 - 字典 v2 模块管理
 *
 * @author nyj2one
 * @since 2022-11-30 15:15:13
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
public class SysDicModVO extends SysDicMod {

    private static final long serialVersionUID = -56201479834575839L;

    @ApiModelProperty(value = "子元素")
    @JsonView(PcTreeByIndexes.class)
    private List<SysDicModVO> children;

    public interface PcTreeByIndexes extends JsonViewResult {
    }
}
